<?php
if( !function_exists('array_walk_recursive') ) {
	function array_walk_recursive(&$array,$func) {
		foreach ($array as $key=>$val) {
			if (is_array($val)) {
				$array[$key]=array_walk_recursive($val,$func);
			} else {
				eval($func.'($val);');
				$array[$key]=$val;
			}
		}
		return $array;
	}
}

?>
